﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class scripts_Clear : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Id"] != null)
        {
            Session.Remove("Uri");
            Session.Remove("Country");
            Session.Remove("EmailAddress");
            Session.Remove("FirstName");
            Session.Remove("LastName");
            Session.Remove("Organization");
            Session.Remove("Sex");
            Session.Remove("Purpose");
            Session.Remove("Title");
            Session.Remove("Id");
            Session.Remove("Username");
        }
        else
        {
            Response.Redirect("../index.aspx");
        }

    }
}